package platformer.model.elements.states.movement;

import java.awt.Point;

/**
 * The State MovingDown.
 */
public class Falling implements MovementState 
{
	
	/** The m_next move. */
	Point m_nextMove = new Point(0,-1);
	
	/* (non-Javadoc)
	 * @see model.elements.states.movement.ElementMovementState#getDirection()
	 */
	@Override
	public Point getDirection() 
	{
    	return m_nextMove;
    }

	/* (non-Javadoc)
	 * @see model.elements.states.movement.ElementMovementState#getFacingTo(model.elements.states.movement.ElementMovementState)
	 */
	@Override
	public MovementState getFacingTo(MovementState m_movementSate) {
		return this;
	}

	/* (non-Javadoc)
	 * @see model.elements.states.movement.ElementMovementState#getOposingDirection()
	 */
	@Override
	public MovementState getOposingDirection()
	{
		return new Jumping();
	}
}